﻿using System.Collections.Generic;
using System.Reflection;

namespace Sail.Environment
{
    public interface ISailFrameworkAssemblies : IDependency
    {
        IEnumerable<AssemblyName> GetFrameworkAssemblies();
    }

    public class DefaultSailFrameworkAssemblies : ISailFrameworkAssemblies
    {
        public IEnumerable<AssemblyName> GetFrameworkAssemblies() {
            return typeof (IDependency).Assembly.GetReferencedAssemblies();
        }
    }
}
